// Package api
// @Time  : 2022/3/18 上午9:35
// @Author: Jtyoui@qq.com
// @note  :
package api

type Manage struct {
}

func (*Manage) PostSubscribe(s Subscribe) bool {
	Result = Data{
		Address: s.Address,
		Title:   s.Machine,
		People:  "预约人：" + s.People,
		Content: "预约仪器ID：" + s.MachineId,
		Time:    "预约日期：" + s.getTime(),
		Flag:    s.isValid(),
		Valid:   false,
	}
	return true
}
